package com.cy.ppj.model.ao.dealrecord;

import java.math.BigDecimal;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 系统奖励or扣除
 *
 * @author: tanyilin
 * @create: 2018年10月15日 上午10:38:05
 */
@Data
@ApiModel("系统奖励or扣除")
public class SysRewardOrDeductAO {

	@ApiModelProperty(value = "金额", example = "0.00", required = true)
	@NotNull(message = "金额不可为空")
	private BigDecimal amount;

	@ApiModelProperty(value = "用户ID", example = "0", required = true)
	@NotNull(message = "用户ID不可为空")
	private Long userId;
	
	@ApiModelProperty(value = "备注")
	private String remark;
}
